import java.util.Scanner;

public class Judge5 {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		
		System.out.println("请输入一个数");
		int a = s.nextInt();
		System.out.println("请输入一个数");
		int b = s.nextInt();
		
		if(a < b) {
			a = b;
			System.out.println("请输入一个数");
			b = s.nextInt();
			if(a < b) {
				System.out.println(b);
			}else {
				System.out.println(a);
			}
		}else {
			System.out.println("请输入一个数");
			b = s.nextInt();
			if(a < b) {
				System.out.println(b);
			}else {
				System.out.println(a);
			}
		}

	}

}
